﻿using com.guojin.core.io.message;
using com.guojin.core.io;

namespace com.guojin.mj.net.message.login
{
    public class ClubRenewRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 128;
        /***
  *俱乐部续费返回的信息  
  *0,代表俱乐部属于初级不需要续费
  *1.代表金币不足
  *2.代表成功
  *3.升级失败  
  */
        public int result;

        public void decode(core.io.Input _in)
        {
            result = _in.readInt();
        }

        public void encode(Output _out)
        {

        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "result"+ result;
        }
    }
}
